package short_semester.questionnaire_planet.request.editRequest;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.LinkedList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EditQuestionBody {
    Integer id;
    String title;
    String description;
    Boolean isNecessary;
    Boolean isRandom;
    
    //考试问卷特有属性
    Integer grade = 0;
    String resolution;
    String rule;
    
    //投票问卷特有属性
    Boolean isShowCount = false;
    Boolean isShowPercent = false;
    
    List<OptionBody> options = new LinkedList<>();
}
